#ifndef SETWIG_H
#define SETWIG_H

#include <QWidget>
#include <QDialog>
#include <QUdpSocket>
#include <QPixmap>
#include <QImage>
#include <QTimer>
#include <QMessageBox>
#include <QApplication>
#include <QWidget>
#include <QLabel>
#include <QPushButton>
#include <QFileDialog>
#include <QPixmap>
#include <QDebug>
#include <QPainter>


namespace Ui {
class SetWig;
}

class SetWig : public QWidget
{
    Q_OBJECT

public:
    explicit SetWig(QWidget *parent = 0);
    ~SetWig();

private:
    Ui::SetWig *ui;
    QUdpSocket *socket;
    QTimer *timer_stream;
    QLabel *lable;
    void paintEvent(QPaintEvent * event);

private slots:
    void sendSlot();
    void getStreamSlot();
    void timeoutStreamSlot();
    void getPhotoSlot();

};

#endif // SETWIG_H
